package cn.com.chengmandian.core.lot.properties;


import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

import java.util.List;

@Data
@Component
@ConfigurationProperties(prefix = "cmd.iot.amqp")
public class AmqpProperties {
    private boolean enable = false; // 开关

    private String accessKeyId;

    private String accessKeySecret;

    private String iotInstanceId; // 企业版实例请填写实例ID，公共实例请填空字符串""。

    private String host; // //${YourHost}为接入域名，请参见AMQP客户端接入说明文档。

    private String regionId;

    private String endPoint;

    private Integer maxConnection = 1; // 创建连接数

    private List<String> consumerGroupId;

}
